class CreateFeatures < ActiveRecord::Migration
  def self.up
    create_table :features do |t|
			t.column :featureable_id, :integer
			t.column :featureable_type, :string, :limit => 30
			t.column :post_access_id, :integer
			t.column :cached_title, :string
			t.column :cached_url, :string
			t.column :user_id, :integer
			
      t.timestamps
    end
  end

  def self.down
    drop_table :features
  end
end
